From: Peter Michael Green Date: Fri, 9 Nov 2018 00:32:38 +0000 (+0000) Subject: Make "make uninstall" uninstall all man pages. X-Git-Tag: archive/raspbian/1.68-2+rpi1~30^2 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=2988acaaa65784ca7633669cbd5a58d3f3ee7bd1;p=pigpio.git Make "make uninstall" uninstall all man pages. --- diff --git a/Makefile b/Makefile index 753a9a3..b73505a 100644 --- a/Makefile +++ b/Makefile @@ -129,6 +129,7 @@ uninstall: if which python2; then python2 setup.py install $(PYINSTALLARGS) --record /tmp/pigpio >/dev/null; sed 's!^!$(DESTDIR)!' < /tmp/pigpio | xargs rm -f >/dev/null; fi if which python3; then python3 setup.py install $(PYINSTALLARGS) --record /tmp/pigpio >/dev/null; sed 's!^!$(DESTDIR)!' < /tmp/pigpio | xargs rm -f >/dev/null; fi rm -f $(DESTDIR)$(mandir)/man1/pig*.1 + rm -f $(DESTDIR)$(mandir)/man1/libpigpio*.1 rm -f $(DESTDIR)$(mandir)/man3/pig*.3 ifeq ($(DESTDIR),) ldconfig